﻿<%@ Page Language="C#" MasterPageFile="~/member/UserManage.master" AutoEventWireup="true"
    CodeFile="M_DestioneAd.aspx.cs" Inherits="DestioneAd"  Title="预定广告"%>
<asp:Content ID="Content1" ContentPlaceHolderID="ContInfo" runat="server">

    <div class="inkg mar_top">
     <strong class="inkgt">
        预定广告</strong>
  <div class="intab mar_top" id="intab">
    <ul>
      <li class="intabt2">所有预定</li>
    </ul>
        <div class="intabc" id="intabc">
            <div class="con" style="display: block">
                        <table cellpadding="0" cellspacing="0" border="0" class="edtb">
                            <thead>
                                <tr>
                                    <td id="xh" align="center" width="40">
                                        <strong>广告位ID</strong>
                                    </td>
                                    <td align="center" width="100">
                                        <strong>广告名称</strong>
                                    </td>
                                    <td align="center" width="250">
                                        <strong>广告类型</strong>
                                    </td>
                                    <td align="center" width="100">
                                        <strong>显示页面</strong>
                                    </td>
                                    <td align="center">
                                        <strong>广告规格</strong>
                                    </td>
                                    <td align="center">
                                        <strong>所需价格</strong>
                                    </td>
                                    <td align="center">
                                        <strong>选项</strong>
                                    </td>
                                </tr>
                            </thead>
                            <tbody>
                             <asp:Repeater  ID="GridView1" runat="server"  > 
                    <ItemTemplate>
                        <tr>
                            <td width="40" align="center">
                               <asp:Label ID="lb_AdId" runat="server" Text='<%#Eval("T_ID")%>'></asp:Label>
                            </td>
                            <td width="100" align="center">
                                 <asp:Label ID="lb_name" runat="server" Text='<%#Eval("Ad_Name")%>'></asp:Label>
                            </td>
                            <td width="250" align="center">
                                <asp:Label ID="lb_type" runat="server" Text='<%#Eval("Ad_Type")%>'></asp:Label>
                            </td>
                            <td align="center" width="100">
                                <asp:Label ID="lb_page" runat="server" Text='<%#Eval("Ad_Page")%>'></asp:Label>
                            </td>
                            <td align="center" style="">
                                       <asp:Label ID="lb_width" runat="server" Text='<%#Eval("Ad_Width")%>'></asp:Label>
            <asp:Label
                            ID="Label1" runat="server" Text="×"></asp:Label>
            <asp:Label ID="lb_height" runat="server"
                                Text='<%#Eval("Ad_Height")%>'></asp:Label>
                            </td>
                        <td>
                        <asp:Label ID="lb_money" runat="server" Text='<%#Eval("DayMoney","{0:c}")%>'></asp:Label>
                        </td>
                        <td>
                                <asp:LinkButton ID="xiugai" runat="server" Text="申请" Enabled="true" CommandArgument='<%# DataBinder.Eval(Container.DataItem,"T_ID")%>'
                                    OnCommand="xiugai_Command" />
                        </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater >
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="7">
                                    <p class="zi2">
     总记录数：<asp:Label ID="txt_pageCount" runat="server"></asp:Label>
        页码：<asp:Label ID="txt_begin" runat="server"></asp:Label>/<asp:Label ID="txt_pageAll" runat="server"></asp:Label>
      <asp:LinkButton ID="btn_pageFirst" runat="server" OnClick="btn_pageFirst_Click">首页</asp:LinkButton>
      <asp:LinkButton ID="btn_pageLast" runat="server" OnClick="btn_pageLast_Click">上一页</asp:LinkButton>
      <asp:LinkButton ID="btn_pageNext" runat="server" OnClick="btn_pageNext_Click">下一页</asp:LinkButton>
      <asp:LinkButton ID="btn_pageFoot" runat="server" OnClick="btn_pageFoot_Click">末页</asp:LinkButton>
      <asp:TextBox ID="txt_PageNum" runat="server" Width="30px"></asp:TextBox>
      <asp:LinkButton ID="btn_go" runat="server" OnClick="btn_go_Click">GO</asp:LinkButton>
                                    </p>
                                </td>
                            </tr>
                        </tfoot>
                        </table>
    </div>
  </div>
  </div>
  </div>
</asp:Content>
